/**
 * 
 */
package org.apache.struts.register.model;

/**
 *
 * @author wanghy
 * @since 2014-2-26
 * 
 */
public class Person {

	private String firstName;
	
    private String lastName;
    
    private String email;
    
    private int age;
    
    private String sport;
    
    private String gender;

    private String residency;
    
    private boolean over21;
    
    private String[] carModels;
    
    private String phoneNumber;
    
	/**
	 * @return the firstName
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * @param firstName the firstName to set
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/**
	 * @return the lastName
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * @param lastName the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the age
	 */
	public int getAge() {
		return age;
	}

	/**
	 * @param age the age to set
	 */
	public void setAge(int age) {
		this.age = age;
	}
	
	public String toString() {
        return "First Name: " + getFirstName() + " Last Name: " + getLastName() + 
        " Email: " + getEmail() + " Age: " + getAge() ;
    }

	/**
	 * @return the sport
	 */
	public String getSport() {
		return sport;
	}

	/**
	 * @param sport the sport to set
	 */
	public void setSport(String sport) {
		this.sport = sport;
	}

	/**
	 * @return the gender
	 */
	public String getGender() {
		return gender;
	}

	/**
	 * @param gender the gender to set
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}

	/**
	 * @return the residency
	 */
	public String getResidency() {
		return residency;
	}

	/**
	 * @param residency the residency to set
	 */
	public void setResidency(String residency) {
		this.residency = residency;
	}

	/**
	 * @return the over21
	 */
	public boolean isOver21() {
		return over21;
	}

	/**
	 * @param over21 the over21 to set
	 */
	public void setOver21(boolean over21) {
		this.over21 = over21;
	}

	/**
	 * @return the carModels
	 */
	public String[] getCarModels() {
		return carModels;
	}

	/**
	 * @param carModels the carModels to set
	 */
	public void setCarModels(String[] carModels) {
		this.carModels = carModels;
	}

	/**
	 * @return the phoneNumber
	 */
	public String getPhoneNumber() {
		return phoneNumber;
	}

	/**
	 * @param phoneNumber the phoneNumber to set
	 */
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
}
